package com.gdwhomework.chapter08.work005;

import jdk.internal.org.objectweb.asm.tree.MultiANewArrayInsnNode;

/**
 * @author 关道伟
 * @version 1.0
 */
public class Test05 {
    public static void main(String[] args) {
        Person person = new Person("唐僧",new Horse());
        person.passRiver();
        person.common();
        person.passFireMountain();
    }
}
